using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class PT_ToolPKTTEntity:AF_ORM.CORE.BaseEntity
    {
         public PT_ToolPKTTEntity()
         {
             tableName = "PT_ToolPKTT";


			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","Code","Code","string",50,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","CreatedBy","CreatedBy","string",50,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","CreatedDate","CreatedDate","DateTime",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","ID","ID","int",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","IsActive","IsActive","bool",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","IsDeleted","IsDeleted","bool",0,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","Name","Name","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","UpdatedBy","UpdatedBy","string",50,false,true,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("PT_ToolPKTT","UpdatedDate","UpdatedDate","DateTime",0,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_Code;
		 protected string m_CreatedBy;
		 protected DateTime m_CreatedDate;
		 protected int m_ID;
		 protected bool m_IsActive;
		 protected bool m_IsDeleted;
		 protected string m_Name;
		 protected string m_UpdatedBy;
		 protected DateTime m_UpdatedDate;

		 public string Code

          { 
                get { 
                    return m_Code;}

                set{m_Code=value;

                    GetField("Code").Set();
                    GetField("Code").IsNull=(value == null);           
                    }
          }
		 public string CreatedBy

          { 
                get { 
                    return m_CreatedBy;}

                set{m_CreatedBy=value;

                    GetField("CreatedBy").Set();
                    GetField("CreatedBy").IsNull=(value == null);           
                    }
          }
		 public DateTime CreatedDate

          { 
                get { 
                    return m_CreatedDate;}

                set{m_CreatedDate=value;

                    GetField("CreatedDate").Set();
                    GetField("CreatedDate").IsNull=(value == null);           
                    }
          }
		 public int ID

          { 
                get { 
                    return m_ID;}

                set{m_ID=value;

                    GetField("ID").Set();
                    GetField("ID").IsNull=(value == null);           
                    }
          }
		 public bool IsActive

          { 
                get { 
                    return m_IsActive;}

                set{m_IsActive=value;

                    GetField("IsActive").Set();
                    GetField("IsActive").IsNull=(value == null);           
                    }
          }
		 public bool IsDeleted

          { 
                get { 
                    return m_IsDeleted;}

                set{m_IsDeleted=value;

                    GetField("IsDeleted").Set();
                    GetField("IsDeleted").IsNull=(value == null);           
                    }
          }
		 public string Name

          { 
                get { 
                    return m_Name;}

                set{m_Name=value;

                    GetField("Name").Set();
                    GetField("Name").IsNull=(value == null);           
                    }
          }
		 public string UpdatedBy

          { 
                get { 
                    return m_UpdatedBy;}

                set{m_UpdatedBy=value;

                    GetField("UpdatedBy").Set();
                    GetField("UpdatedBy").IsNull=(value == null);           
                    }
          }
		 public DateTime UpdatedDate

          { 
                get { 
                    return m_UpdatedDate;}

                set{m_UpdatedDate=value;

                    GetField("UpdatedDate").Set();
                    GetField("UpdatedDate").IsNull=(value == null);           
                    }
          }

}
}
